<?php
    class data{
    	private $dia;
		private $h_ini;	
		private $h_fi;
		
		public function getDia(){
			return $this->dia;
		}
		
		public function getHoraIni(){
			return $this->h_ini;
		}
		
		public function setData($d, $h_i, $h_f){
			$this->dia = $d;
			$this->h_ini = $h_i;
			$this->h_fi = $h_f;
		}
		
		public function getTotalHores(){
			return $this->h_fi - $this->h_ini;
		}
		
    }
	

?>